package dryven.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import dryven.model.binding.fieldset.Field;
import dryven.view.DefaultViewAnnotationComponent;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD,ElementType.METHOD})
public @interface View {
	public Class<? extends dryven.view.engine.component.ViewComponent> component() default DefaultViewAnnotationComponent.class;
	public String componentString() default "";
	public Field.Access access() default Field.Access.Write;
}
